package cn.wd.mapper;

import cn.wd.domain.User;
import cn.wd.qo.QueryObject;

import java.util.List;

public interface UserMapper {
    void deleteByPrimaryKey(Long id);

    void insert(User row);

    User selectByPrimaryKey(Long id);

    List<User> selectAll();

    void updateByPrimaryKey(User row);

    Long selectForCount(QueryObject qo);

    List<User> selectForList(QueryObject qo);

    User selectUserByUsername(String username);
}
